import request from '@/utils/request';
import { BasicUrl } from '@/common/service-prefix'

export async function query(): Promise<any> {
  return request('/api/users');
}

export async function queryCurrent(): Promise<any> {
  return request(`${BasicUrl}/member/current`, {
    method: 'GET'
  });
}

export async function queryNotices(): Promise<any> {
  return request('/api/notices');
}
